package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.AcqButtleDetailDao;
import com.meizi.lushi.entity.AcqButtleDetailEntity;
import com.meizi.lushi.service.AcqButtleDetailService;


@Service("acqButtleDetailService")
public class AcqButtleDetailServiceImpl extends ServiceImpl<AcqButtleDetailDao, AcqButtleDetailEntity> implements AcqButtleDetailService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AcqButtleDetailEntity> page = this.page(
                new Query<AcqButtleDetailEntity>().getPage(params),
                new QueryWrapper<AcqButtleDetailEntity>()
        );

        return new PageUtils(page);
    }

}